﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace qltscd
{
    public class ReadFileFootter
    {
        public static string Index(string filename)
        {
            string Content = "";
            System.IO.StreamReader s;
            if (System.IO.File.Exists(filename) == false)
            {
                return "";
            }
            else
            {
                s = new System.IO.StreamReader(System.IO.File.OpenRead("test.txt"));
                string line = null;
                while ((line = s.ReadLine()) != null)
                {
                    Content += line;
                }
                s.Close();
                return Content;
            }
        }
    }
}